package org.dromara.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysMiniBanner;
import org.dromara.system.domain.SysTenant;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 诊所小程序管理员账号 sys_mini_admin
 *
 * @author ling
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysMiniBanner.class)
public class SysMiniBannerVo implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;


    /**
     * banner分类 0.默认  1.外链
     */
    @ExcelProperty(value = "类型 0.默认  1.外链")
    private Integer bannerType;

    /**
     * url
     */
    @ExcelProperty(value = "外链链接")
    private String url;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 作者
     */
    @ExcelProperty(value = "作者")
    private String author;

    /**
     * 内容
     */
    @ExcelProperty(value = "banner图")
    private String context;

    /**
     * 图片
     */
    @ExcelProperty(value = "banner图")
    private String  img;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
